import request from '@/utils/http.js'

//登录
export const login = params => request('post','api/user/login',params)

//发送手机验证码
export const send = params => request('post','api/sms/send',params)

//验证码登录
export const mobilelogin = params => request('post','api/user/mobilelogin',params)

//忘记密码
export const resetpwd = params => request('post','api/user/resetpwd',params)

//修改密码
export const editpwd = params => request('post','api/user/editpwd',params)

//退出登录
export const logout = params => request('post','api/user/logout',params)